<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>发表留言</title>
  <link rel="stylesheet" href="/public/css/bootstrap.css">
  <link rel="shortcut icon" href="/public/favicon.ico">
</head>

<body>
  <div class="header container">
    <div class="page-header">
      <h1><a href="/">首页</a> <small>发表留言</small></h1>
    </div>
  </div>
  <div class="comments container">
    <form action="/doadd" method="get">
      <div class="form-group">
        <label for="input_name">你的大名</label>
        <input type="text" class="form-control" required minlength="2" maxlength="10" name="name" placeholder="请写入你的姓名">
      </div>
      <div class="form-group">
        <label for="textarea_message">留言内容</label>
        <textarea class="form-control" name="content" cols="30" rows="10" required minlength="5"
          maxlength="20"></textarea>
      </div>
      <button type="submit" class="btn btn-default">发表</button>
    </form>
  </div>
</body>

</html>